package StudyCode.summary.mycollection;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class GetSynchronizedMapFromHashMap {
	public static void main(String[] args) {
		HashMap hashMap = new HashMap();
		Map map = Collections.synchronizedMap(hashMap);

		System.out.println("Map:" + map);
	}
}
